package com.beamfield.dao.lab;

import com.beamfield.model.Lab;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

@Component
public interface LabMapper {
    int deleteByPrimaryKey(Long id);

    int insert(Lab record);

    int insertSelective(Lab record);

    Lab selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Lab record);

    int updateByPrimaryKeyWithBLOBs(Lab record);

    int updateByPrimaryKey(Lab record);

    Lab selectByBeamId(@Param("beamId") Long beamId);
}